home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v9n02.arc
/
NOCASE.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-02
|
685b
|
26 lines
@ECHO OFF
IF "%2"=="" GOTO params
SET %1=qrx
IF "%DYNAMIC%"=="qrx" GOTO accept1
SET %1=
ECHO Your first command line parameter must be "dynamic", or "DYNAMIC",
ECHO or "dYnAmIc" -- the case doesn't matter.
GOTO end
:accept1
SET %1=
SET %2=qrx
IF "%DUO%"=="qrx" GOTO accept2
SET %2=
ECHO Your second command line parameter must be "duo", or "DUO",
ECHO or "dUo" -- the case doesn't matter.
GOTO end
:accept2
SET %2=
ECHO You have properly entered "Dynamic Duo".
GOTO end
:params
ECHO Enter "%0 dynamic duo", and note that the CASE of your command
ECHO line parameters doesn't matter. "DyNaMiC duO" is fine, as long
ECHO as you spell the words correctly.
:end